package com.todo.events
{
	import com.todo.model.vos.Task;
	
	import flash.events.Event;
	
	public class TaskEvent extends Event
	{
		//.........................................Constants..........................................
		
		public static const ADD: String 		= "addTaskEvent";
		public static const SELECT: String 		= "selectTaskEvent";
		public static const DELETE: String 		= "deleteTaskEvent";
		public static const SAVE: String 		= "saveTaskEvent";
		public static const CANCEL_EDIT: String = "cancelEditTaskEvent";
		
		//.........................................Properties..........................................
		public var task:Task;
		
		
		//.........................................Constructor..........................................
		
		public function TaskEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
	}
}